<meta charset="utf-8">
<div data-ng-controller="LoginLogManagementController">

	<div style="overflow-y: scroll; padding-left: 290px; position: fixed;width: 100%;padding-bottom: 20px;height: 100%;right: 20px">
	<div class="head_leida1" style="position: relative;margin-left: -100px;margin-right: 10px">
		<img ng-src="images/company/2.png" style="padding-left: 10px">
		<font color="#555555" style="margin-left: 10px">日志信息</font>
	</div>
	
	<div class="table_leida" style="position: relative;margin-left: -100px;margin-right: 10px">
		<div style="padding-left: 0px;width:100%;">
		<!-- 数据记录 -->
			<div class="col-sm-12 paddingLeft0" style="padding-left: 10px;padding-right: 10px;" >
	            <table class="table table-bordered table-striped table-hover" style="text-align: center;" >
		            <thead style="background-color: #ffffff">
		                <tr><td colspan="5" style="color: #0f91d0;background-color: #f9f9f9">今天登陆</td></tr>
	                </thead>
	                <tbody>
		                <tr data-ng-if="data.length > 0" data-ng-repeat="user in data">
        	                <td style="width:5%; cursor: pointer; text-align:center;">{{$index+1}}</td>
		                    <td style="width:10%; cursor: pointer; text-align:center;">{{user.loginIp || ''}}</td>
		                    <td style="width:10%; cursor: pointer; text-align:center;">{{user.loginDate | date:'yyyy-MM-dd HH:mm:ss'}}</td>
		                    <td style="width:10%; cursor: pointer; text-align:center;" ng-if="user.clientType=='1' ">PC登陆</td>
		                    <td style="width:10%; cursor: pointer; text-align:center;" ng-if="user.clientType!='1' ">&nbsp;</td>
		                    <td style="width:10%; cursor: pointer; text-align:center;">{{user.address || ''}}</td>
		                </tr>
	                </tbody>
	            </table>
	        </div>
	        
	        <!-- 数据记录 -->
			<div class="col-sm-12 paddingLeft0" style="padding-left: 10px;padding-right: 10px;padding-top: 10px" >
	            <table class="table table-bordered table-striped table-hover" style="text-align: center;" >
		            <thead style="background-color: #ffffff">
		                <tr><td colspan="5" style="color: #0f91d0;background-color: #f9f9f9">历史登陆</td></tr>
	                </thead>
	                <tbody>
		                <tr data-ng-if="history.length > 0" data-ng-repeat="user in history">
        	                <td style="width:5%; cursor: pointer; text-align:center;">{{$index+1}}</td>
		                    <td style="width:10%; cursor: pointer; text-align:center;">{{user.loginIp || ''}}</td>
		                    <td style="width:10%; cursor: pointer; text-align:center;">{{user.loginDate | date:'yyyy-MM-dd HH:mm:ss'}}</td>
		                    <td style="width:10%; cursor: pointer; text-align:center;" ng-if="user.clientType=='1' ">PC登陆</td>
		                    <td style="width:10%; cursor: pointer; text-align:center;" ng-if="user.clientType!='1' ">&nbsp;</td>
		                    <td style="width:10%; cursor: pointer; text-align:center;">{{user.address || ''}}</td>
		                </tr>
		                
		                <tr>
		                	<td colspan="5">
		                		 <div class="box" id="wrap1"></div>	
		                	</td>
		                </tr>
	                </tbody>
	            </table>
	        </div>
		</div>
	</div>
</div>
</div>
